Remove gdk_setting_get
authorMatthias Clasen <mclasen@redhat.com>
Mon, 30 Oct 2017 19:31:02 +0000 (15:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 30 Oct 2017 19:31:02 +0000 (15:31 -0400)
This is a minor convenience api, and it is unused.

docs/reference/gdk/gdk4-sections.txt
gdk/gdkevents.c
gdk/gdkevents.h

index 3939f6c341f159ffc0bc661a7a02b703da97775d..869592dba9381ccd4a7b94ec4103d0e0fd3b98c3 100644 (file)
@@ -809,9 +809,6 @@ gdk_event_set_source_device
 gdk_event_get_device_tool
 gdk_event_set_device_tool
 
-<SUBSECTION>
-gdk_setting_get
-
 <SUBSECTION Standard>
 GDK_TYPE_EVENT_MASK
 GDK_TYPE_EVENT_TYPE
index 139ff481d1e76a61d55924b82d6e791bdcfa12d4..466ab54829f19d937eeeeaa3e7990b3a0043728b 100644 (file)
@@ -2318,24 +2318,6 @@ G_DEFINE_BOXED_TYPE (GdkEventSequence, gdk_event_sequence,
                      gdk_event_sequence_copy,
                      gdk_event_sequence_free)
 
-/**
- * gdk_setting_get:
- * @name: the name of the setting.
- * @value: location to store the value of the setting.
- *
- * Obtains a desktop-wide setting, such as the double-click time,
- * for the default screen. See gdk_screen_get_setting().
- *
- * Returns: %TRUE if the setting existed and a value was stored
- *   in @value, %FALSE otherwise.
- **/
-gboolean
-gdk_setting_get (const gchar *name,
-                GValue      *value)
-{
-  return gdk_screen_get_setting (gdk_screen_get_default (), name, value);
-}
-
 /**
  * gdk_event_get_event_type:
  * @event: a #GdkEvent
index 448a542b88c2c7755427da380fb1b3a0583d1896..41e8ff2d1284f4dc0d0b35f68764cb5606d5778f 100644 (file)
@@ -687,10 +687,6 @@ void         gdk_set_show_events           (gboolean        show_events);
 GDK_AVAILABLE_IN_ALL
 gboolean  gdk_get_show_events          (void);
 
-GDK_AVAILABLE_IN_ALL
-gboolean gdk_setting_get                (const gchar    *name,
-                                         GValue         *value);
-
 GDK_AVAILABLE_IN_3_22
 GdkDeviceTool *gdk_event_get_device_tool (const GdkEvent *event);